package asapIs134CK.womi.client;

import asapIs134CK.womi.client.games.logoGame.froggitTheFrog.FroggitGameWigdet;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.DockPanel;
import com.google.gwt.user.client.ui.HTML;
import com.google.gwt.user.client.ui.RootPanel;

public class FroggitTheFrog implements EntryPoint {
	private FroggitGameWigdet _frgWidget = new FroggitGameWigdet();
	@Override
	public void onModuleLoad() {
		DockPanel dock = new DockPanel();
		dock.add(_frgWidget, DockPanel.CENTER);
		dock.add(new HTML("<h1>Welcome on the alpha version of " +
				"Froggit the Frog !</h1>"), DockPanel.NORTH);
		dock.add(new HTML("by " +
				"<img src=\"imgs/Asap-is-13-4-C-Ksmall.png\" " +
				"width=\"200\" " +
				"height=\"100\" " +
				"alt=\"ASAP is Back\" >"), DockPanel.SOUTH);
		
		RootPanel.get("content").add(dock);
		_frgWidget.refresh();
	}

}
